﻿var titBook = titBook || {};
titBook.viewModels = titBook.viewModels || {};

(function(viewModels) {
    viewModels.peopleViewModel = kendo.data.ObservableObject.extend({
        firstName: "",
        lastName: "",
        fullName: function() {
            return this.get("firstName") + " " + this.get("lastName");
        },

        init: function() {
            var me = this;
            kendo.data.ObservableObject.fn.init.call(me, {});

            me.set("firstName", 'a');
            me.set("lastName", 'b');
        },

    });
})(titBook.viewModels);